﻿using Project.DTO.DepartmentFile;
using Project.DTO.StaffFile.StaffLifeCycle;

namespace Project.DTO.StaffFile
{
    /// <summary>
    /// 员工
    /// </summary>
    public class StaffDto:BaseEntityDto
    {
        /// <summary>
        /// 入职资料id
        /// </summary>
        public long? EntryDocumentId { get; set; }
        public EntryDocumentDto EntryDocument { get; set; }
        /// <summary>
        /// 职位Id
        /// </summary>
        public long? PositionId { get; set; }
        public PositionDto Position { get; set; }
        /// <summary>
        /// 是否正式员工
        /// </summary>
        public bool IsRegularEmployee { get; set; }
        /// <summary>
        /// 是否离职
        /// </summary>
        public bool IsSeparation { get; set; }
    }
}
